package com.example.demo.mongo.dao;

import com.example.demo.mongo.Follow;
import org.springframework.data.mongodb.repository.ReactiveMongoRepository;
import reactor.core.publisher.Flux;

/**
 * @author wujunyu
 * @date 2020/9/16 15:21
 */
public interface FollowRepoistory extends ReactiveMongoRepository<Follow,String> {
    
    Flux<Follow> findAllByUserId(String userId);
}
